package org.video.mine.entity;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

import java.util.List;

public class MovieDetailEntity extends BaseObservable {
    String name;
    String src;
    String type;
    String year;
    String desc;
    String imgUrl;
    List<MoviePlayerEntity> playerEntities;

    @Bindable
    public List<MoviePlayerEntity> getPlayerEntities() {
        return playerEntities;
    }

    public void setPlayerEntities(List<MoviePlayerEntity> playerEntities) {
        this.playerEntities = playerEntities;
    }

    @Bindable
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Bindable
    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    @Bindable
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Bindable
    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    @Bindable
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Bindable
    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
}
